###
### Makefile for GNU Interactive Tools
###

###
### Copyright (C) 1993, 1994, 1995, 1996 Free Software Foundation, Inc.
###
### This program is  free software; you can  redistribute it and/or modify
### it under the terms  of the GNU General Public  License as published by
### the  Free Software Foundation; either version  2,  or (at your option)
### any later version.
### 
### This program is distributed  in the hope that  it will be  useful, but
### WITHOUT    ANY  WARRANTY;  without   even   the  implied  warranty  of
### MERCHANTABILITY  or  FITNESS FOR  A PARTICULAR   PURPOSE.  See the GNU
### General Public License for more details.
### 
### You should  have received a  copy of  the GNU  General Public  License
### along with   this  program; if   not,  write  to   the Free   Software
### Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
###


PRODUCT		= "@PRODUCT@"
VERSION		= "@VERSION@"


srcdir		= @srcdir@
VPATH		= @srcdir@

prefix		= @prefix@
infodir		= $(prefix)/info

SHELL		= /bin/sh
MAKEINFO	= @MAKEINFO@
TEXI2DVI	= @TEXI2DVI@
INSTALL		= @INSTALL@
INSTALL_PROGRAM	= @INSTALL_PROGRAM@
INSTALL_DATA	= @INSTALL_DATA@
HOST		= @HOST@

all:

installdirs:
	@$(srcdir)/../mkinstalldirs $(infodir)

info:	git.info git.info-1 git.info-2 git.info-3

git.info: $(srcdir)/git.texinfo
	$(MAKEINFO) $(srcdir)/git.texinfo

git.info-1: $(srcdir)/git.texinfo
	$(MAKEINFO) $(srcdir)/git.texinfo

git.info-2: $(srcdir)/git.texinfo
	$(MAKEINFO) $(srcdir)/git.texinfo

git.info-3: $(srcdir)/git.texinfo
	$(MAKEINFO) $(srcdir)/git.texinfo

dvi:	git.dvi

git.dvi: $(srcdir)/git.texinfo
	$(TEXI2DVI) $(srcdir)/git.texinfo

install-strip: install

install: all install-only

install-only:
	$(INSTALL_DATA) $(srcdir)/git.info   $(infodir)/git.info
	$(INSTALL_DATA) $(srcdir)/git.info-1 $(infodir)/git.info-1
	$(INSTALL_DATA) $(srcdir)/git.info-2 $(infodir)/git.info-2
	$(INSTALL_DATA) $(srcdir)/git.info-3 $(infodir)/git.info-3

uninstall:
	-cd $(infodir) && rm -f git.info*

clean:
	-rm -f *~ *.bak core* tutu* gogu*
	-rm -f git.fns git.cps git.fn git.dvi git.cps git.cp
	-rm -f git.aux git.log git.toc git.tp git.vr git.vrs
	-rm -f git.pg git.ky git.kys git.ps

mostlyclean: clean

distclean: clean
	-rm -f Makefile config.status config.log config.cache

realclean: distclean

# Tell version [3.59,3.63) of GNU make not to export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:
